#ifndef TESSELLATION_QUAD_SAMPLE_H
#define TESSELLATION_QUAD_SAMPLE_H
#include "SampleBase.h"
#include "glslprogram.h"
#include "glm\glm.hpp"
namespace ShaderLab {
	class TessQuadSample : public SampleBase {
	public:
		TessQuadSample();
		~TessQuadSample();

		void Init();
		void Update(float time);
		void Render();
		void Imgui();
		void ShutDown();
	private:
		void CreateShader();
	private:
		GLSLProgram prog;
		GLuint vaoHandle;
		glm::mat4 model, view, projection, viewport;
		int innerFactor, outterFactor;
	};
}
#endif // !TEMPLATE_SAMPLE_H
